Piwik\DataAccess\Model C

Total Complexity 125
Dependencies 21
Dependents 10
Total lines 716
Lines of code 548
Logical lines of code 386
Comment lines 125
Methods 39
Properties 1

Methods 39

Method Rating Maintainability Complexity Lines of code
updateArchiveAsInvalidated()
C
31 27 101
getInvalidatedArchiveIdsSafeToDelete()
A
46 10 37
getRecordsContainedInArchives()
S
51 5 24
updateRangeArchiveAsInvalidated()
S
51 5 24
startArchive()
S
53 5 21
createArchiveTable()
S
55 5 20
hasInvalidationForPeriodAndName()
S
57 4 17
getDeletedSegmentWhereClause()
S
56 4 16
allocateNewArchiveId()
S
58 4 16
getArchiveIdsForSegments()
S
58 4 15
getArchiveIdsForDeletedSites()
S
55 3 19
deleteArchivesWithPeriod()
S
57 3 16
deleteOlderArchives()
S
56 3 16
getNextInvalidatedArchive()
S
57 3 16
hasChildArchivesInPeriod()
S
56 3 15
getRemoveInvalidationsIdSitesClause()
S
64 3 9
doRequestedRecordsLookNumeric()
S
67 3 8
deleteArchiveIds()
S
58 2 14
isSimilarArchiveInProgress()
S
59 2 13
getArchiveIdAndVisits()
S
59 2 12
getExistingInvalidations()
S
59 2 12
isArchiveAlreadyInProgress()
S
60 2 12
isCutOffGroupConcatResult()
S
73 2 4
getSitesWithInvalidatedArchive()
S
65 2 8
__construct()
S
79 2 3
getNameCondition()
S
64 2 9
deleteInvalidations()
S
67 1 7
removeInvalidationsLike()
S
68 1 6
removeInvalidations()
S
68 1 6
getInstalledArchiveTables()
S
71 1 5
insertRecord()
S
64 1 9
getTemporaryArchivesOlderThan()
S
72 1 4
deleteInvalidationsForSites()
S
69 1 6
deleteInvalidationsForDeletedSites()
S
70 1 6
makeExistingInvalidationArrayKey()
S
77 1 3
releaseInProgressInvalidation()
S
71 1 5
resetFailedArchivingJobs()
S
67 1 7
updateArchiveStatus()
S
77 1 3
getHashFromDoneFlag()
S
74 1 4